/**
 * @description: Login interface parameters
 */
export interface LoginParams {
  username: string;
  password: string;
  code: string;
  grant_type: string;
  uuid: string;
  //isReturnNativeResponse: boolean;
}

export interface RoleInfo {
  roleName: string;
  value: string;
}

/**
 * @description: Login interface return value
 */
export interface LoginResultModel {
  userId: string | number;
  access_token: string;
  token_type: string;
  refresh_token: string;
  role: RoleInfo;
}
